<div class="container-fluid">
	<style>
		#pad-wrapper label{
			cursor: default;
			width: 30%;
		}
	</style>
	<div id="pad-wrapper">
		<div class="table-wrapper products-table section">
			<div class="row-fluid head">
				<div class="span12">
					<h4>订单详情</h4>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>订单号：<?php echo $orderinfo['order_no'] ?></label>
					<label>下单时间：<?php echo  date('Y-m-d G:i:s',$orderinfo['ocreate_time']) ?></label>
					<label>购买人手机号：<?php echo $orderinfo['mobile'] ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>订单状态：<?php echo $orderinfo['order_status_name'] ?></label>
					<label>购买份数：<?php echo $orderinfo['product_num'] ?></label>
					<label>付款时间：<?php echo $orderinfo['pay_time'] ? date('Y-m-d G:i:s',$orderinfo['pay_time']) : '未付款' ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>收货人：<?php echo $orderinfo['addressee'] ?></label>
					<label>收货人手机号：<?php echo $orderinfo['telephone'] ?></label>
					<label>收货人地址：<?php echo $orderinfo['province_name']. $orderinfo['city_name']. $orderinfo['district_name']. $orderinfo['address_name'] ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>发货人：<?php echo $orderinfo['send_user'] ?></label>
					<label>发货时间：<?php if($orderinfo['send_time'] != 0){ echo date('Y-m-d G:i:s',$orderinfo['send_time']); } ?></label>
					<label>快递单号：<?php echo '可编辑' ?>
						<td class="options">
							<button type="button" class=" btn-flat primary" id="express">编辑快递信息</button></li>
						</td>
					</label>
				</div>
			</div>
			<div class="row-fluid head" id="express_div" style="display:none;" >
				<div class="span12">
					<label>快递公司:<select>
						<option value ="1">中通</option>
						<option value ="2">顺丰</option>
						<option value="3">圆通</option>
					</select></label>
					<label>快递单号:<input type="text" name="express_no" /></label>
				</div>
			</div>
		</div>
		<!-- end products table -->
	</div>
	<style>
		h4{
			padding-bottom:25px;
		}
		label{
			display:inline-block;
			margin-right:10px;
			margin-left:20px;
			vertical-align:middle;
		}
		.disabled,.disabled:hover{
			background-color:#e6e6e6 !important;
			border:1px solid #e6e6e6 !important;
			color:gray;
		}
	</style>

	<script type="text/javascript">
		$(function () {
			<!--表格标题点击排序-->
			$("#express").click(function () {
				$("#express_div").show()//显
				$("#express").html(" 确认 ")//显
			});
		});
	</script>
</div>


